package com.ypx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ypx.bean.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 易鹏祥
* @description 针对表【employee(员工信息)】的数据库操作Service
* @createDate 2023-05-23 16:18:30
*/
public interface EmployeeService extends IService<Employee> {
    Employee findByUsername(String username);

//    Page<Employee> page(Integer page, Integer pageSize, String name);

    int countByUsernameNotSelf(String username, Long id);

    boolean updateEmployee(Employee employee);
}
